package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @author 谢娅
 * @TableName note
 */
@TableName(value ="note")
@Data
public class Note implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long noteId;

    /**
     * 
     */
    private Long userId;


    /**
     * 父级文件夹
     */
    private Long parentFolderId;
    /**
     * 
     */
    private String title;

    /**
     * 
     */
    private String content;

    /**
     * 
     */
    private Integer categoryId;

    /**
     *
     */
    private String tag;

    /**
     *
     */
    private Integer editable;

    /**
     *
     */
    private Integer readNum;

    /**
     *
     */
    private Integer starNum;

    /**
     *
     */
    private String password;

    /**
     * 
     */
    private String categoryName;

    /**
     * 
     */
    private Date createdTime;

    /**
     * 
     */
    private Date updatedTime;

    /**
     * 
     */
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}